package com.shenzhenai.it_hei_ma.a01threadcase1;

/**
 * @author huangzehui
 * @date 2025/8/26 13:31 周二
 * @description
 *
 * 多线程&JUC-03-多线程的第一种实现方式
 * https://www.bilibili.com/video/BV1LG4y1T7n2?spm_id_from=333.788.player.switch&vd_source=e07cc8cc94eb22bd76722071b03cd199&p=3
 */
public class ThreadDemo {

    public static void main(String[] args) {
        MyThread t1 = new MyThread();
        MyThread t2 = new MyThread();

        t1.setName("线程1");
        t2.setName("线程2");

        t1.start();
        t2.start();
    }

}
